import request from "@/utils/request";
const BASE_URL = "admin";

//查询所有已经出院患者的信息
export const getDischargedPatients = (params) =>
  request.get(`${BASE_URL}/patient/dischargePatient/patientInfo`, { params });

//根据患者ID查询出院患者的详细信息
export const queryPatientTreatmentInfo = (params) => {
   return request.get(`${BASE_URL}/patient/dischargePatient/patientDetail`,  
    {params}
  );
};

//根据患者的ID查询出院患者的治疗医嘱信息
export const queryPatientTreatmentAdviceInfo = (params) =>{
  return request.get(
    `${BASE_URL}/patient/dischargePatient/patientTreatmentAdviceInfo`,
    {params},
    
  );
}
